package cn.johnyu.base.dao;

import cn.johnyu.base.model.Author;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AuthorMapper {
    Author findAuthorById(Integer id);

    List<Author> findAllAuthors();

}
